SG Window Window Object
Window Methods

©1998 by Stinga

Properties     Methods     Events     Constants     Error Codes
Activate Activates window
AttachActiveWindow Attach active window
AttachDesktop Attach desktop window
CallWindowProc Calls attached window's default window procedure.
Create Creates new window
Destroy Destroy attached window and its children
EnableMessage Enables or disables message events
EnableMessageRange Enables or disables message events for a range of messages
FindHWND Returns descendent window with specified HWND
FindWindow Returns first window whose class name and text match specified strings
FindWindows Returns collection of windows whose class name and text match specified strings
FlashWindow Flashes specified window once
FreezeEvents Stops and enables message events
GetDC Returns a handle to a window client device context
GetWindowDC Returns a handle to the entire window device context
Invalidate Invalidates window's client rectangle
LockWindowUpdate Enables or disables window updating
PostMessage Posts a message to the window
PrintClient Draw window client area to the specified device context
PrintWindow Draw window to the specified device context
Redraw Redraws window
ReleaseDC Releases device context previously returned from GetDC or GetWindowDC methods
ResetSystemMenu Resets the system menu back to the Windows default state
SendKeys Send one or more keystrokes to the window
SendMessage Sends a message to the window
SetFocus Sets the keyboard focus to the window
SetMessageCallback Sets message callback interface
SetPaintCallback Sets paint callback interface
SetPosition Sets window's position and size in one step